Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@babel/helper-create-regexp-features-plugin
Advanced tools
Compile ESNext Regular Expressions to ES5
The @babel/helper-create-regexp-features-plugin is a helper plugin used internally by Babel's transform plugins to compile regular expressions using the RegExp features provided in ECMAScript 2015+ into equivalent regular expressions that are compatible with older JavaScript engines. This plugin is not typically used directly by developers but is instead used by other Babel plugins to handle regular expression transformations.
Transform RegExp Literals
This feature allows Babel plugins to transform RegExp literals using new syntax features into a form that can be understood by older JavaScript engines.
This is an internal helper plugin and does not provide a public API for direct usage in code. It is used by other Babel plugins to transform RegExp literals.
Support for RegExp Proposals
This feature enables Babel plugins to add support for proposed RegExp features that are not yet part of the ECMAScript standard.
This is an internal helper plugin and does not provide a public API for direct usage in code. It is used by other Babel plugins to add support for RegExp proposals.
The regexpu-core package is a RegExp utility library that transforms Unicode-aware regular expressions into ES5-compatible versions. This is similar to @babel/helper-create-regexp-features-plugin in that it also deals with transforming regular expressions for compatibility purposes.
Compile ESNext Regular Expressions to ES5
See our website @babel/helper-create-regexp-features-plugin for more information.
Using npm:
npm install --save @babel/helper-create-regexp-features-plugin
or using yarn:
yarn add @babel/helper-create-regexp-features-plugin
v7.25.7 (2024-10-02)
babel-helper-validator-identifier
babel-traverse
babel-plugin-transform-classes
super()
check (@nicolo-ribaudo)babel-generator
infer
in compact mode (@nicolo-ribaudo)[no LineTerminator here]
after nodes (@nicolo-ribaudo)babel-types
babel-core
--experimental-require-module
(@nicolo-ribaudo)babel-helper-compilation-targets
, babel-helper-plugin-utils
, babel-preset-env
babel-plugin-proposal-destructuring-private
, babel-plugin-syntax-decimal
, babel-plugin-syntax-import-reflection
, babel-standalone
babel-generator
[no LineTerminator here]
before nodes (@nicolo-ribaudo)babel-plugin-transform-typescript
babel-types
BABEL_TYPES_8_BREAKING
at startup (@nicolo-ribaudo)FAQs
Compile ESNext Regular Expressions to ES5
The npm package @babel/helper-create-regexp-features-plugin receives a total of 19,582,460 weekly downloads. As such, @babel/helper-create-regexp-features-plugin popularity was classified as popular.
We found that @babel/helper-create-regexp-features-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.